#ifndef OBGRASS_H
#define OBGRASS_H

#include "d3dx9.h"
#include "ObObject.h"

class ObGrass : public ObObject{
public:
	enum GRASS {Grass = 15};

	ObGrass();
	~ObGrass();

	bool setId(int nid);
	static bool checkType(int obID);

	void update(float dt);
	void render(ID3DXSprite* mSprite);

	static bool loadTexture();
	static bool releaseTexture();

private:
	static IDirect3DTexture9* mTex;
	int mCurrentState;
	float timeAcum;
	
};
#endif